/*
 * TCSS 558
 * Distributed HashMap
 * Fall 2013
 * James Marquardt
 * Matt Adams
 * Justin Wong
 */
package model;

import java.util.List;
import java.util.Set;

import node.Node;

/**
 * Class to store node references and entries for transfer between
 * nodes.
 * 
 * @author Matt Adams
 */
public class NodesAndEntries {
    
    private List<Node> nodes;
    
    private Set<Entry> entries;
    
    public NodesAndEntries(final List<Node> nodes, final Set<Entry> entries) {
        this.nodes = nodes;
        this.entries = entries;
    }
    
    public List<Node> getNodes() {
        return this.nodes;
    }
    
    public Set<Entry> getEntries() {
        return this.entries;
    }
    
    public void setNodes(final List<Node> nodes) {
        this.nodes = nodes;
    }
    
    public void setEntries(final Set<Entry> entries) {
        this.entries = entries;
    }
}
